package com.windchimes.edueval_platform.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.windchimes.edueval_platform.common.CustomException;
import com.windchimes.edueval_platform.domain.po.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.windchimes.edueval_platform.domain.vo.TeacherVO;

import java.util.List;

/**
 * <p>
 * 教师表 服务类
 * </p>
 *
 * @author windchimes
 * @since 2025-04-04
 */
public interface ITeacherService extends IService<Teacher> {

    Teacher login(Teacher teacher)  throws CustomException;

    Page<TeacherVO> getTeacherPage(int page, int pageSize, String name);

    TeacherVO getTeacherVOById(Long id) throws CustomException;

    void setStatus(int status, List<Long> ids) throws CustomException;
}
